SftTree/NET 2.0

ItemClass Class

Softel vdm, Inc.

  ItemClass Class (Softelvdm.SftTreeNET Namespace)

An instance of the ItemClass class describes one individual item in a SftTree/NET control.

There is one instance of the ItemClass class for each item in a SftTree/NET control.

VB   

Public Class ItemClass Inherits Object

C#   

public class ItemClass : Object

C++   

public ref class ItemClass : public Object


Public

Constructors

Properties

Fields

Methods

Events

Protected

Constructors

Properties

Fields

Methods

 


Public Constructors

Description

none

This class cannot be instantiated.

   

Public Properties

Description

public property_CreateChildren

For internal use only - Not intended for direct use by applications

public propertyBackColor

Defines the background color of the item's cells.

public propertyBackColorSelected

Defines the background color of the item's cells, if the item is selected.

public propertyCells

Returns the item's cell collection.

public propertyChildren

Returns the dependent items of the this item.

public propertyDirectChildCount

Returns the number of immediate dependents of this item.

public propertyEditIgnore

Defines whether the cells in this item are ignored for cell editing.

public propertyEnabled

Returns whether this item is enabled.

public propertyExpandCollapseButton

Defines the expand/collapse button style.

public propertyExpanded

Returns whether this item is expanded.

public propertyFirstCell

Returns the first cell in the item's cell collection.

public propertyFirstChild

Returns the item's first dependent.

public propertyFirstDisplayedCell

Returns the first displayed cell in the item's cell collection.

public propertyFirstSibling

Returns the item's first sibling item.

public propertyForeColor

Defines the foreground color of the item's cells.

public propertyForeColorSelected

Defines the foreground color of the item's cells, if the item is selected.

public propertyHasChildren

Returns whether this item has dependents.

public propertyImage

Defines the item image displayed in this item.

public propertyLastCell

Returns the last cell in the item's cell collection.

public propertyLastChild

Returns the item's last dependent.

public propertyLastDependent

Returns the item's last direct or indirect dependent.

public propertyLastDisplayedCell

Returns the last displayed cell in the item's cell collection.

public propertyLastSibling

Returns the item's last sibling item.

public propertyLevel

Returns the item's level number.

public propertyMaxHeight

Defines the maximum height of this item.

public propertyMinHeight

Defines the minimum height of this item.

public propertyNext

Returns the next item (visible or hidden).

public propertyNextSibling

Returns the item's next sibling item.

public propertyNextVisible

Returns the next visible item.

public propertyOwningControl

Returns the control owning this item.

public propertyParent

Returns the parent item of the item.

public propertyPrevious

Returns the previous item (visible or hidden).

public propertyPreviousVisible

Returns the previous visible item.

public propertyPrevSibling

Returns the item's previous sibling item.

public propertyRealHeight

Returns the physical height of the item.

public propertyRowHeader

Returns the item's row header.

public propertySelected

Defines whether this item is selected.

public propertyTagObject

Defines application-specific data.

public propertyTagObjects

Defines application-specific data.

public propertyTagString

Defines an application-specific string.

public propertyTopParent

Returns the item's top-most parent item.

public propertyTotalChildCount

Returns the number of all dependents of this item.

public propertyTotalVisibleCount

Returns the total number of immediate and indirect dependents that are visible.

public propertyUsageLocation

Returns the location where this item is used.

public propertyVisible

Defines whether this item is visible.

public propertyVisibleIndex

Returns the index of the item.

public propertyWidthIgnore

Defines whether cells and the row header in this item are ignored for optimal column width calculation.

  

Public Methods

Description

public methodAdd

Adds a new dependent to the current item. The new item is added as the last dependent.

public methodCollapse

Collapses the item so its dependents are hidden.

public methodCopy

Copies an item to a new position in the tree control.

public methodEqualsinherited from System.Object

Determines whether the specified Object is equal to the current Object.

public methodExpand

Expands the item so its dependents become visible.

public methodGetHashCodeinherited from System.Object

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

public methodGetTypeinherited from System.Object

Gets the Type of the current instance.

public methodInsertAfter

Inserts a new item as the next sibling of this item.

public methodInsertBefore

Inserts a new item as the previous sibling of this item.

public methodInsertFirst

Inserts a new item as the first sibling of this item.

public methodInsertLast

Inserts a new item as the last sibling of this item.

public methodMove

Moves an item to a new position in the tree control.

public methodstatic / sharedReferenceEqualsinherited from System.Object

Determines whether the specified Object instances are the same instance.

public methodRemove

Removes this item.

public methodRemoveChildren

Removes the item's dependents.

public methodScrollIntoView

Vertically scrolls the item into view so it is displayed in the tree control's client area.

public methodToStringinherited from System.Object

Returns a String that represents the current Object.

  

Protected Methods

Description

protected methodFinalizeinherited from System.Object

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

protected methodMemberwiseCloneinherited from System.Object

Creates a shallow copy of the current Object.

  

See Also     Softelvdm.SftTreeNET Namespace


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com